package com.hhang.boot.dao;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ComDao {

    int addGoods(Map<String,Object> param) throws Exception;

    List<Map<String,Object>> findCom(Map<String,Object> param) throws Exception;

    int upGoods(Map<String,Object> param) throws Exception;
    int delGoods(List<Long> id) throws Exception;

    List<Map<String,Object>> findRepair(Map<String,Object> param) throws Exception;

    int addDuty(Map<String,Object> param) throws Exception;


    List<Map<String,Object>> findDuty(Map<String,Object> param) throws Exception;
    int delDuty(List<Long> id) throws Exception;


    int addRepair(Map<String,Object> param) throws Exception;
    int upRepair(Map<String, Object> param) throws Exception;
}
